property

fun property(ref: KProperty<*>, filter: PropertyFilter.() -> Unit = {}): PropertyRef

Get a property from a property literal. Can only be called on literals, not variables.


fun property(fqName: FqName, filter: PropertyFilter.() -> Unit = {}): PropertyRef

Get a property with fqName, matching filter


fun Namespace.property(name: String, filter: PropertyFilter.() -> Unit = {}): PropertyRef

Get a property in the current Namespace with the given name, matching filter


fun Namespace.property(filter: PropertyFilter.() -> Unit = {}): PropertyRefDelegate

Get a property delegate in the current Namespace with the property's name, matching filter